import { MinLength,IsInt, MaxLength,Allow,Validate } from 'class-validator';

export class searchValueModel {
    @MinLength(1,{
      message: 'search_Value参数必须有'
    })
    search_Value!: string;
    @MinLength(1,{
      message: 'user_Id参数必须有'
    })
    user_Id!:number;
    @MinLength(1,{
      message: 'search_Page参数必须有'
    })
    search_Page!: number;
    @MinLength(1,{
      message: 'search_count参数必须有'
    })
    search_count!: number;

}


export class searchTypeModel {
    @MinLength(1,{
        message: 'search_Type参数必须有'
      })
      search_Type!: number;
  
  }